import { post, postJson } from "@/util/http"

/**
 * 分页查询
 * @param  params 
 */
export const SelectList = params => post(`/category/selectList`, params)

/**
 * 新增
 * @param  params 
 */
export const InsertHandle = params => post(`/category/insert`, params)

/**
 * 更新
 * @param  params 
 */
export const UpdateHandle = params => post(`/category/update`, params)

/**
 * 删除
 * @param  params 
 */
export const DeleteHandle = params => post(`/category/delete`, params)


/**
 * 排序
 * @param  params 
 */
export const SortHandle = params => postJson(`/category/sort`, params)
